/*
 ============================================================================
 Name		: ARCheckersMobDocument.cpp
 Author	  : 
 Copyright   : Your copyright notice
 Description : CARCheckersMobDocument implementation
 ============================================================================
 */

// INCLUDE FILES
#include "ARCheckersMobAppUi.h"
#include "ARCheckersMobDocument.h"

// ============================ MEMBER FUNCTIONS ===============================

// -----------------------------------------------------------------------------
// CARCheckersMobDocument::NewL()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CARCheckersMobDocument* CARCheckersMobDocument::NewL(CEikApplication& aApp)
	{
	CARCheckersMobDocument* self = NewLC(aApp);
	CleanupStack::Pop(self);
	return self;
	}

// -----------------------------------------------------------------------------
// CARCheckersMobDocument::NewLC()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CARCheckersMobDocument* CARCheckersMobDocument::NewLC(CEikApplication& aApp)
	{
	CARCheckersMobDocument* self = new (ELeave) CARCheckersMobDocument(aApp);

	CleanupStack::PushL(self);
	self->ConstructL();
	return self;
	}

// -----------------------------------------------------------------------------
// CARCheckersMobDocument::ConstructL()
// Symbian 2nd phase constructor can leave.
// -----------------------------------------------------------------------------
//
void CARCheckersMobDocument::ConstructL()
	{
	// No implementation required
	}

// -----------------------------------------------------------------------------
// CARCheckersMobDocument::CARCheckersMobDocument()
// C++ default constructor can NOT contain any code, that might leave.
// -----------------------------------------------------------------------------
//
CARCheckersMobDocument::CARCheckersMobDocument(CEikApplication& aApp) :
	CAknDocument(aApp)
	{
	// No implementation required
	}

// ---------------------------------------------------------------------------
// CARCheckersMobDocument::~CARCheckersMobDocument()
// Destructor.
// ---------------------------------------------------------------------------
//
CARCheckersMobDocument::~CARCheckersMobDocument()
	{
	// No implementation required
	}

// ---------------------------------------------------------------------------
// CARCheckersMobDocument::CreateAppUiL()
// Constructs CreateAppUi.
// ---------------------------------------------------------------------------
//
CEikAppUi* CARCheckersMobDocument::CreateAppUiL()
	{
	// Create the application user interface, and return a pointer to it;
	// the framework takes ownership of this object
	return new (ELeave) CARCheckersMobAppUi;
	}

// End of File
